package jwei.apps.indextank.client;

import jwei.apps.indextank.client.IndexTankClient.HttpCodeException;

public class UnexpectedCodeException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    public final int httpCode;

    public UnexpectedCodeException(HttpCodeException source) {
        super(source.getMessage());
        this.httpCode = source.httpCode;
    }
}
